package cc.greencat.gcmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 支付信息表
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:56:27
 */
@TableName("payment_info")
public class PaymentInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 订单号（对外业务号）
	 */
	private String orderSn;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 支付宝交易流水号
	 */
	private String alipayTradeNo;
	/**
	 * 支付总金额
	 */
	private BigDecimal totalAmount;
	/**
	 * 交易内容
	 */
	private String subject;
	/**
	 * 支付状态
	 */
	private String paymentStatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 确认时间
	 */
	private Date confirmTime;
	/**
	 * 回调内容
	 */
	private String callbackContent;
	/**
	 * 回调时间
	 */
	private Date callbackTime;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 订单号（对外业务号）
	 */
    public void setOrderSn(String orderSn){
        this.orderSn = orderSn;
    }
    /**
	 * get 订单号（对外业务号）
	 */
    public String getOrderSn(){
        return this.orderSn;
    }
	/**
	 * set 订单id
	 */
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }
    /**
	 * get 订单id
	 */
    public Long getOrderId(){
        return this.orderId;
    }
	/**
	 * set 支付宝交易流水号
	 */
    public void setAlipayTradeNo(String alipayTradeNo){
        this.alipayTradeNo = alipayTradeNo;
    }
    /**
	 * get 支付宝交易流水号
	 */
    public String getAlipayTradeNo(){
        return this.alipayTradeNo;
    }
	/**
	 * set 支付总金额
	 */
    public void setTotalAmount(BigDecimal totalAmount){
        this.totalAmount = totalAmount;
    }
    /**
	 * get 支付总金额
	 */
    public BigDecimal getTotalAmount(){
        return this.totalAmount;
    }
	/**
	 * set 交易内容
	 */
    public void setSubject(String subject){
        this.subject = subject;
    }
    /**
	 * get 交易内容
	 */
    public String getSubject(){
        return this.subject;
    }
	/**
	 * set 支付状态
	 */
    public void setPaymentStatus(String paymentStatus){
        this.paymentStatus = paymentStatus;
    }
    /**
	 * get 支付状态
	 */
    public String getPaymentStatus(){
        return this.paymentStatus;
    }
	/**
	 * set 创建时间
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get 创建时间
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 确认时间
	 */
    public void setConfirmTime(Date confirmTime){
        this.confirmTime = confirmTime;
    }
    /**
	 * get 确认时间
	 */
    public Date getConfirmTime(){
        return this.confirmTime;
    }
	/**
	 * set 回调内容
	 */
    public void setCallbackContent(String callbackContent){
        this.callbackContent = callbackContent;
    }
    /**
	 * get 回调内容
	 */
    public String getCallbackContent(){
        return this.callbackContent;
    }
	/**
	 * set 回调时间
	 */
    public void setCallbackTime(Date callbackTime){
        this.callbackTime = callbackTime;
    }
    /**
	 * get 回调时间
	 */
    public Date getCallbackTime(){
        return this.callbackTime;
    }

}
